package router

import (
	"github.com/gin-gonic/gin"
	authapis "zorm-learn/app/auth/apis"
	dbapis "zorm-learn/app/dbapi/apis"
	dmapis "zorm-learn/app/dm/apis"
	originalapis "zorm-learn/app/gateway/apis"
	multiapis "zorm-learn/app/multi/apis"
	onlineapis "zorm-learn/app/online/apis"
	queryapis "zorm-learn/app/query/apis"
)

var NoCheckRole = make([]func(*gin.RouterGroup), 0)

func init() {
	NoCheckRole = append(NoCheckRole, queryapis.Routers...)
	NoCheckRole = append(NoCheckRole, onlineapis.Routers...)
	NoCheckRole = append(NoCheckRole, dmapis.Routers...)
	NoCheckRole = append(NoCheckRole, originalapis.Routers...)
	NoCheckRole = append(NoCheckRole, authapis.Routers...)
	NoCheckRole = append(NoCheckRole, multiapis.Routers...)
	NoCheckRole = append(NoCheckRole, dbapis.Routers...)
}
